home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Source Code
/
Libraries
/
Dots & Pixels
/
headers
/
noisedots.h
< prev
next >
Wrap
C/C++ Source or Header
|
1995-09-29
|
710b
|
30 lines
#pragma once
//
// noisedots generates spatiotemporal noise on a screen.
//
class noisedots : public phaser, public screendots
{
public:
noisedots( int numbits, int xpos, int ypos,
int aantaldots, unsigned int lifetime);
noisedots( int numbits, screen_position where,
int aantaldots, unsigned int lifetime = 1);
virtual void compute_addresses();
};
inline noisedots::noisedots( int numbits, int xpos, int ypos,
int aantaldots, unsigned int life)
: phaser( life)
, screendots( numbits, xpos, ypos, aantaldots)
{
}
inline noisedots::noisedots( int numbits, screen_position where,
int aantaldots, unsigned int life)
: phaser( life)
, screendots( numbits, where, aantaldots)
{
}